module.exports = {
    lintOnSave: false, //取消代码检测
    devServer: {
        //host: "localhost",
        //port: 8081, // 端口号
        https: false, // https:{type:Boolean}
        open: false, //配置自动启动浏览器
        proxy: {
            "/api": {
                //代理api
                target: "http://192.168.1.187:8802", //代理的目标地址
                //target: "http://39.108.158.63:8821/m.api", //服务器api地址
                ws: true, // proxy websockets
                changeOrigin: true, //是否跨域
                pathRewrite: {
                    //重写路径
                    "^/api": ""
                }
            }
        }
    }
};